import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
const request = {
    group_list(params, callback) {
        http.post(host_one + "/grouplist", params, callback)
    },
    add_group(params, callback) {
        http.post(host_one + "/groupadd", params, callback)
    },
    edit_group(params, callback) {
        http.post(host_one + "/groupupdate", params, callback)
    },
    delete_group(params, callback) {
        http.post(host_one + "/groupdelete", params, callback)
    },
    detail_group(params, callback) {
        http.post(host_one + "/groupdetail", params, callback)
    }
}
export default request;